class CreateGuides < ActiveRecord::Migration
  def change
    create_table :guides do |t|
      t.string :name
      t.datetime :start_at
      t.datetime :end_at
      t.integer  :program_id
      t.timestamps
    end
    add_index :guides, :program_id
  end
end
